const time = document.querySelector('.time')
setInterval(function (){
    const date = new Date()
    time.innerHTML = date.toLocaleString()
},1000)
